package com.xxx.springboot.service.impl;

import com.lmax.disruptor.EventFactory;
import com.xxx.springboot.pojo.bean.MessageModel;

/**
 * 2.构造EventFactory
 */
public class HelloEventFactory implements EventFactory<MessageModel> {

    @Override
    public MessageModel newInstance() {
        return new MessageModel();
    }

}
